/**
 * Created by 春旺 on 2017/3/23.
 */
//************************************************************************************************
// BasicArray.java       Java Foundations
// Demonstrates basic arry declaration and use.
//*************************************************************************************************
public class BasicArrary
{
    //--------------------------------------------------------------------------------------------
    // Creates an array, fills it with various integer values,
    // modifies one value, then prints them out.
    //---------------------------------------------------------------------------------------------
    public static void main(String[] args)
    {
        final int LIMIT = 15, MULTIPLE = 10;
        int[] list = new int[LIMIT];

        // Initialize the array values
        for (int index = 0; index < LIMIT; index ++)
        list[index] = index * MULTIPLE;

        list[5] = 999; // change one array values
        for (int value : list)
        System.out.print(value + "  ");

    }
}
